package com.oracleoaec.service.impl;

import java.util.List;
import com.oracleoaec.dao.BrandDao;
import com.oracleoaec.dao.impl.BrandDaoImpl;
import com.oracleoaec.entity.Brand;
import com.oracleoaec.service.BrandService;

public class BrandServiceImpl implements BrandService{

	private BrandDao brandDao;
	public BrandServiceImpl() {
		brandDao=new BrandDaoImpl();
	}
	@Override
	public Brand queryBrandNameById(long id) {
		
		return brandDao.queryBrandNameById(id);
	}
	@Override
	public List<Brand> queryAllBrand() {
		
		return brandDao.queryAllBrand();
	}
}
